<?php
class Language {

	private $labels = array(
		"language" => "english", 
		"greetings" => "created by 42Lab",
		"general.close" => "close",
		"general.logout" => "logout",
		"general.delete" => "delete",
		"general.close.menu" => "close menu",
		"index.message" => "create a new identity and live it as if it was real! EGO is a social game in which you can feel free to express yourself",
		"index.help" => "what is it?",
		"index.help.explain" => "<b>Ego is a social game network</b><br><br>Inside EGO the users are called <b>maskers</b> that interact with the community through writing some <b>sign</b> (post) and differents <b>questions</b>.<br>It does not matter if your profile is real or invented, the target is having a virtual life.<br><br>Appreciates the sign posted by the maskers through the <b>colorfeel!</b> this tool allows you to choose between 3 basic colors (red, green, blue) that reflects the feeling that causes the sign.<br><br>Start to play with simple steps!<ul class='help_list'><li><div class='_icon profile_icon float_left'></div>Signup your <b>Masker</b>! (hey is completely free, easy and fast,choose just a simple nickname!)</li><li><div class='_icon sign_icon float_left'></div>Write your first <b>sign</b> (equivalent to a post from facebook, but is considered a clue!) Writing for example \"Hello, I am Luke! This is my first sign!\"</li><li><div class='_icon love_full_icon float_left'></div>Appreciates the sign posted by the maskers through the <b>colorfeel!</b></li><li><div class='_icon question_icon float_left'></div>Enter inside to some profile and ask something to somebody with a <b>question</b>! Write for example \"Hi masker, where are you from?\"</li><li><b>be a watcher!</b> start to follow some other masker to read all updates</li></ul>",
		"index.login" => "login",
		"index.register" => "sign up",
		"index.anonymous" => "login as anonymous",
		"login.user.empty" => "insert a masker name",
		"login.user.no.white.spaces" => "no white spaces inside the masker name",
		"login.psw.empty" => "insert a masker password",
		"login.user.or.psw.invalid" => "user or password invalid",
		"register.toindex" => "back to the homepage",
		"register.toindex.after.register" => "Ok, go to the login page",
		"register.message" => "sign up your masker with a few seconds",
		"register.username" => "choose your masker name",
		"register.password" => "choose a safe masker password",
		"register.mail" => "insert your mail",
		"register.retype.password" => "retype the masker password",
		"register.confirm" => "confirm",
		"register.user.empty"=> "choose the masker name",
		"register.psw.empty"=> "choose the masker password",
		"register.mail.empty"=> "insert your mail",
		"register.mail.no.valid"=> "insert a valid mail",
		"register.re.psw.empty"=> "retype the chosen password",
		"register.psw.and.re.psw.not.equal" => "the confirmation password is different",
		"register.user.already.exist" => "masker name already used",
		"register.user.at.least.3" => "masker name at least 3 characters",
		"register.welcome.masker" => "Welcome",
		"register.welcome.masker.second.part" => "your account was created correctly.",
		"register.welcome.masker.third.part" => "Sign in with the data chosen",
		"home.load.recent" => "recent",
		"home.load.older" => "older",
		"footer.mine" => "mine",
		"footer.watchers" => "watchers",
		"footer.global" => "global",
		"footer.contest" => "contest",
		"sign.detail.sign.large" => "sign detail",
		"sign.detail.colorfeel" => "colorfeel",
		"sign.detail.reply" => "reply",
		"sign.detail.replies" => "replies",
		"sign.detail.delete" => "delete sign",
		"sign.detail.question" => "question",
		"sign.detail.profile" => "profile",
		"sign.detail.replies.title" => "replies",
		"sign.detail.replies.no.replies" => "no replies",
		"sign.detail.replies.insert.button" => "reply",
		"sign.insert.new.sign" => "new sign",
		"sign.too.long" => "text too long",
		"sign.not.empty" => "you cannot insert an empty sign",
		"colorfeel.choose.the.color" => "choose the color for the sign",
		"menu.profilo" => "profile",
		"menu.sign" => "sign",
		"menu.questions" => "questions",
		"profile.total.sign" => "sign",
		"profile.total.question" => "question",
		"profile.total.love" => "colorfeel",
		"profile.total.achievement" => "achievement",
		"profile.total.follow.watchers" => "watchers",
		"profile.total.have.watchers" => "followers",
		"profile.button.unfollow" => "unfollow",
		"profile.button.follow" => "follow",
		"profile.not.found" => "not found",
		"profile.back.to.profile" => "back to profile",
		"profile.watchers" => "watchers",
		"profile.followers" => "followers",
		"profile.no.watcher.found" => "no watcher found",
		"no.signs.found.from.watchers" => "no sign found from your watchers",
		"no.signs.found.from.masker" => "no sign written yet",
		"questions.title" => "questions",
		"questions.profile.not.found" => "profile not found",
		"questions.make.a.question" => "make a new question",
		"questions.no.questions" => "no questions for this masker",
		"questions.question.no.answer" => "no answer",
		"question.not.empty" => "text must be not empty",
		"question.too.long" => "text too long",
		"question.new.question" => "new question",
		"question.question.title" => "question detail",
		"question.detail.answer" => "answer",
		"question.anwer.question" => "answer",
		"question.delete.are.you.sure" => "Are you sure to delete the question?",
		"notification.close.panel" => "close notifications",
		"notification.follow.text" => "starts to follow you",
		"notification.unfollow.text" => "unfollowed you",
		"notification.reply.text" => "responded to your sign",
		"notification.colorfeel.text" => "add a colorfeel to your sign",
		"notification.question.text" => "asked you something",
		"notification.question.reply.text" => "answered to your question",
		"notification.new.message" => "hai delle nuove notifiche",
		"sign.detail.large.not.found" => "sign not found",
		"register.mail.object" => ", are you ready to be different?",
		"register.mail.message.1" => "It's a pleasure to meet you! Now some information to login:<br><br><div class='mail_info_box'><span class='mail_user_label'>user</span><span class='mail_user_value'>",
		"register.mail.message.2" => "</span></br><span class='mail_password_label'>password</span><span class='mail_password_value'>",
		"register.mail.message.3" => "</span></div><br><br><span class='mail_explain_title'>",
		"register.mail.message.4" => "</span><br><br><span class='mail_explain_message'>",
		"register.mail.message.5" => "</span>"
		// translated to here
	);

	function getLabel($key) {
		$value = null;
		if (array_key_exists($key, $this -> labels)) {
			$value = $this -> labels[$key];
		}
		return $value;
	}

}
?>